//
//  PDFPagePickerGridViewCell.h
//  Cachalot
//
//  Created by Adam Cue on 6/30/11.
//  Copyright 2011 __MyCompanyName__. All rights reserved.
//

#import <UIKit/UIKit.h>
#import <QuartzCore/QuartzCore.h>
#import "AQGridView.h"
#import "PDFPagePreviewView.h"
#import "AnnotationView.h"

@interface PDFPagePickerGridViewCell : AQGridViewCell{
  PDFPagePreviewView * _pageView;
  UIImageView * _annotationView;
  UILabel * _countLabel;
  UIViewController <PDFPagePreviewViewDelegate> * superViewController;
}

#pragma mark ExternalMethods
- (id)initWithFrame:(CGRect)frame reuseIdentifier:(NSString *)reuseIdentifier 
superViewController:(UIViewController <PDFPagePreviewViewDelegate> *)vc;
+ (void)fillCell:(PDFPagePickerGridViewCell *)cell forAnnotationView:(AnnotationView *)annotationView andPage:(UIImage *)page andCount:(NSInteger)count;

@property(nonatomic, retain) PDFPagePreviewView * pageView;
@property(nonatomic, retain) UIImageView * annotationView;
@property(nonatomic, retain) UILabel * countLabel;
@property(nonatomic, assign) UIViewController <PDFPagePreviewViewDelegate> * superViewController;

@end
